Optimal. Leaf size=9 \[ -\tan ^{-1}(3-\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0285221, antiderivative size = 9, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3258, 618, 204} \[ -\tan ^{-1}(3-\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3258
Rule 618
Rule 204
Rubi steps
\begin{align*} \int \frac{\cos (x)}{10-6 \sin (x)+\sin ^2(x)} \, dx &=\operatorname{Subst}\left (\int \frac{1}{10-6 x+x^2} \, dx,x,\sin (x)\right )\\ &=-\left (2 \operatorname{Subst}\left (\int \frac{1}{-4-x^2} \, dx,x,-6+2 \sin (x)\right )\right )\\ &=-\tan ^{-1}(3-\sin (x))\\ \end{align*}
Mathematica [A] time = 0.009574, size = 9, normalized size = 1. \[ -\tan ^{-1}(3-\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.048, size = 6, normalized size = 0.7 \begin{align*} \arctan \left ( -3+\sin \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.42398, size = 7, normalized size = 0.78 \begin{align*} \arctan \left (\sin \left (x\right ) - 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.39823, size = 27, normalized size = 3. \begin{align*} \arctan \left (\sin \left (x\right ) - 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.254743, size = 5, normalized size = 0.56 \begin{align*} \operatorname{atan}{\left (\sin{\left (x \right )} - 3 \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10479, size = 7, normalized size = 0.78 \begin{align*} \arctan \left (\sin \left (x\right ) - 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]